<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>时空-东东影视</title>
    <meta name="keywords" content="时空,东东影视"/>
    <meta name="description" content="时空,东东影视"/>
    <link rel="icon" href="/css/img/favicon.ico">
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <link rel="stylesheet" rev="stylesheet" type="text/css" media="all" href="/css/bootadd.css">
    <link rel="stylesheet" rev="stylesheet" type="text/css" media="all" href="/css/style.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/js/html5shiv.min.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<div style="display: none;">
    <script type="text/javascript">
        UA = navigator.userAgent.toLowerCase();
        url = window.location;
        url = url.toString();
        if ((UA.indexOf('iphone') != -1 || UA.indexOf('mobile') != -1 || UA.indexOf('android') != -1 || UA.indexOf('ipad') != -1 || UA.indexOf('windows ce') != -1 || UA.indexOf('ipod') != -1) && UA.indexOf('ipod') == -1) {
            url = url.replace("www.", "m.");
            Go(url);
        }

        function Go(url) {
            window.location = url;
        }
    </script>
</div>
<div style="background:#FFF">
    <div style="padding:5px 0;border-bottom:1px solid #DDD;">
        <div class="container">
            <span class="header-help">欢迎来到东东影视，我们因为电影而相聚。</span>
            <div class='pull-right' id='denglutai'>
            </div>
            <script>
                $.get("/VipUser/denglutai", function (pm) {
                    if (pm == '' || pm == null) {
                        var ss = "<a class='header-help' style='color:#5cff77;' href='/Skip/tzloginregister'>点击进入注册-登录</a> "
                        $("#denglutai").html(ss);
                        return
                    }
                    var s = "<a class='header-help' href=\"javascript:alert('快捷键Ctrl+D可以快速添加到收藏夹。');\">加入收藏夹</a> -"
                    s += "<a class='header-help' style='color:#00d9ff;' href='###'>欢迎回来," + pm.username + "</a> -"
                    s += "<a href='javascript:tuichu()' class=\"header-help\" style='color:red;'>退出登录</a>"
                    $("#denglutai").html(s);
                })

                function tuichu() {
                    $.get("/VipUser/tui", function () {
                        location.href = "/Skip/homepage"
                    })
                }
            </script>
        </div>
    </div>

    <div class="container" style="padding-top:15px;padding-bottom:15px;padding-right:0;">
        <div class="row">
            <div class="col-md-6 col-xs-6">
                <a class="logo" href="###"></a>
            </div>
            <div class="pull-right">
                <form class="navbar-form" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" id="wd" name="wd" placeholder="电影搜索">
                    </div>
                    <button type="button" onclick="bb()" class="btn btn-primary">搜索</button>
                </form>
                <script>
                    function bb() {
                        let val = $("#wd").val();
                        location.href = "/Skip/sousuo?movieName=" + val
                    }
                </script>
            </div>
        </div>
    </div>
    <nav class="navbar navbar-static-top navbar-default" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                        aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="###">东东影视</a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
                <ul class="nav navbar-nav" id="lanwei">
                </ul>
                <script type="text/javascript">

                    $.get("/TCharnnel/show", function (pm) {
                        var s = "<li class='active'><a href='/Skip/homepage'>首页</a></li>"
                        for (var i = 0; i < pm.length; i++) {
                            s += "<li><a target='_self' href='/Skip/tzfenlei?id=" + pm[i].id + "'>" + pm[i].cName + "</a> </li>"
                        }
                        s += "<li><a target='_parent' href='/Skip/tzfenlei?id=9999'>我的收藏</a></li>"
                        $("#lanwei").html(s)
                    })
                </script>
                <ul class="nav navbar-nav navbar-right">
                    <script>
                        document.write("<script src='/label-userlogin-pg-1.html'></s" + "cript>")
                    </script>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </nav>
</div>
<div class="container">
    <script src="/dy-ads/a960x90.js"></script>
</div>
<div>
    <div class="container">
        <div class="container-fluid" style="background:#FFF;padding-top:15px;" id="asdf">
        </div>
        <script>
            var a = [[${movieName}]]
            $.get("/TMovie/sousuoba", {movieName: a}, function (pm) {
                var ssss = "<ol class='breadcrumb'><li><a href='/Skip/homepage'>首页</a>"
                ssss += "</li><li class='active'>影片搜索</li><li class='active'  th:text='${movieName}'></li></ol>"
                for (var i = 0; i < pm.rows.length; i++) {
                    ssss += "<div class='result-item'><div class='row'><div class='col-md-2 tvpic'>"
                    ssss += "<a target='_blank' href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>"
                    ssss += "<img class='img-thumbnail' src='" + pm.rows[i].movieImage + "'></a></div>"
                    ssss += "<div class='col-md-10'>"
                    ssss += "<p class='movie-name'>名称：<strong><a target='_blank' href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>《" + pm.rows[i].movieName + "》</a></strong></p>"
                    ssss += "<div class='intro'><p>上映时间：" + pm.rows[i].yName + "</p>"
                    ssss += "<p>评分：<strong>" + pm.rows[i].score + "</strong></p>"
                    ssss += "<p>播放类型：<strong>云播⑥号," + pm.rows[i].playType + ",③号线路</strong></p>"
                    ssss += "<p>在线播放：<a target=\"_blank\" href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>" + pm.rows[i].movieName + "</a></p></div></div></div></div>"
                }
                ssss += "<div style='background:#FFF;padding-left:15px;' id='fenyeguanli'>"
                ssss += "<ul class='pagination pagination-sm'>共" + pm.total + "条数据&nbsp;"
                ssss += "当前:<span id='pageNubs'>" + pm.pageNum + "</span>/<span id='pagess'>" + pm.pages + "</span>页&nbsp;<em><a href='javascript:page(0)'>首页</a></em>&nbsp;<em><a href='javascript:page(1)'>上一页</a></em>&nbsp;&nbsp;"
                ssss += "<a target='_self' href='javascript:page(2)' class='pagelink_a'>下一页</a>&nbsp;<a target='_self' href='javascript:page(3)' class='pagelink_a'>尾页</a>"
                ssss += "<input type='input' name='page' id='page' size='4' class='pagego'/>"
                ssss += "<input type=\"button\" value=\"跳 转\" onclick='pagego()' class='pagebtn'/></ul>"
                $("#asdf").html(ssss)
            })

            function page(pm) {
                var ss = $("#pageNubs").text()
                var sss = $("#pagess").text()
                if (pm == 0) {
                    if (1 == ss) {
                        alert("当前已是首页")
                    } else
                        $("#pageNubs").text(1)
                    cacac()
                }
                if (pm == 1) {
                    if (1 == ss) {
                        alert("当前已是第一页")
                    } else
                        $("#pageNubs").text(ss - 1)
                    cacac()
                }
                if (pm == 2) {
                    if (sss == ss) {
                        alert("当前已是末页")
                    } else
                        $("#pageNubs").text(parseInt(ss) + 1)
                    cacac()
                }
                if (pm == 3) {
                    if (sss == ss) {
                        alert("当前已是尾页")
                    } else
                        $("#pageNubs").text(sss)
                    cacac()
                }
            }

            function pagego() {
                var ss = $("#pageNubs").text()
                var sss = $("#pagess").text()
                var asd = $("#page").val();
                if (asd == '' || asd == null) {
                    alert("请输入跳转的页面")
                    return;
                }
                if (asd > sss || asd < 1) {
                    alert("你输入的页数不存在")
                    return
                }
                $("#pageNubs").text(asd)
                cacac()
            }
            
            function cacac(){
                var ss = $("#pageNubs").text()
                var a = [[${movieName}]]
                $.get("/TMovie/sousuoba", {movieName: a,pageNum:ss}, function (pm) {
                    var ssss = "<ol class='breadcrumb'><li><a href='/Skip/homepage'>首页</a>"
                    ssss += "</li><li class='active'>影片搜索</li><li class='active'  th:text='${movieName}'></li></ol>"
                    for (var i = 0; i < pm.rows.length; i++) {
                        ssss += "<div class='result-item'><div class='row'><div class='col-md-2 tvpic'>"
                        ssss += "<a target='_blank' href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>"
                        ssss += "<img class='img-thumbnail' src='" + pm.rows[i].movieImage + "'></a></div>"
                        ssss += "<div class='col-md-10'>"
                        ssss += "<p class='movie-name'>名称：<strong><a target='_blank' href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>《" + pm.rows[i].movieName + "》</a></strong></p>"
                        ssss += "<div class='intro'><p>上映时间：" + pm.rows[i].yName + "</p>"
                        ssss += "<p>评分：<strong>" + pm.rows[i].score + "</strong></p>"
                        ssss += "<p>播放类型：<strong>云播⑥号," + pm.rows[i].playType + ",③号线路</strong></p>"
                        ssss += "<p>在线播放：<a target=\"_blank\" href='/Skip/tzxiangqing?id=" + pm.rows[i].id + "'>" + pm.rows[i].movieName + "</a></p></div></div></div></div>"
                    }
                    ssss += "<div style='background:#FFF;padding-left:15px;' id='fenyeguanli'>"
                    ssss += "<ul class='pagination pagination-sm'>共" + pm.total + "条数据&nbsp;"
                    ssss += "当前:<span id='pageNubs'>" + pm.pageNum + "</span>/<span id='pagess'>" + pm.pages + "</span>页&nbsp;<em><a href='javascript:page(0)'>首页</a></em>&nbsp;<em><a href='javascript:page(1)'>上一页</a></em>&nbsp;&nbsp;"
                    ssss += "<a target='_self' href='javascript:page(2)' class='pagelink_a'>下一页</a>&nbsp;<a target='_self' href='javascript:page(3)' class='pagelink_a'>尾页</a>"
                    ssss += "<input type='input' name='page' id='page' size='4' class='pagego'/>"
                    ssss += "<input type=\"button\" value=\"跳 转\" onclick='pagego()' class='pagebtn'/></ul>"
                    $("#asdf").html(ssss)
                })
            }
        </script>

    </div>
    <footer class="footer">

        <p>免责声明：影视均来源于互联网，视频版权属于原有版权商。<br/>本网站仅提供WEB页面服务，并不提供影片资源存储，也不参与录制、上传，<br/>若本站收录的节目无意侵犯了贵司版权，请给网页底部邮箱地址来信，我们会及时处理和回复，谢谢！
        </p>
        <em><a href="index.html">♥东东影视</a> - Copyright &copy; 2018-2019 -
            <script src="/js/tj.js"></script>
        </em>
        <p><img class="png-img" src="/email.gif" alt=""></p>
    </footer>
</div>
<!-- end container -->
<script type="text/JavaScript">
    function SetCookie(name, value) {
        var Days = 1;
        var exp = new Date();
        exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
        document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/;";
    }

    function GetCookie(name) {
        var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
        if (arr != null) return unescape(arr[2]);
        return null;
    }
</script>
<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
</body>

</html>